﻿<UserControl x:Class="WpfImageDuplicates.ThumbnailView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d">
    <Grid x:Name="gridMain">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="14"/>
        </Grid.RowDefinitions>
        <Border x:Name="btnImage" MouseRightButtonDown="btnImage_MouseRightButtonDown" 
                HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >
            <Image x:Name="imgMain" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Stretch="Uniform"/>
        </Border>
        <TextBlock Grid.Row="1" x:Name="txtFileName" Width="Auto" TextAlignment="Left" HorizontalAlignment="Stretch"/>
    </Grid>
</UserControl>
